﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace LuKou.Web.Form
{
    public class LoginForm
    {
        [Required(ErrorMessage = "用户名不能为空")]
        [DisplayName("用户名：")]
        public String UserName { get; set; }

        [Required(ErrorMessage = "密码不能为空")]
        [DataType(DataType.Password)]
        [DisplayName("密码：")]
        public String PassWord { get; set; }

        [Required(ErrorMessage = "验证码不能为空")]
        [DisplayName("验证码：")]
        public String ValidateCode { get; set; }
    }
}
